package com.lzw.breezeNovel.model.entity.pojo.video;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/24
 * @description 短视频观看历史实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class ShortHistory extends BaseQuery {

    @Schema(description = "历史id，主键自增")
    private Long id;

    @Schema(description = "用户id，外键关联用户表")
    private Long userId;

    @Schema(description = "短视频id，外键关联短视频表")
    private Long shortId;

    @Schema(description = "观看时间，默认为当前时间")
    private Date watchTime;

    @Schema(description = "更新时间，默认为当前时间")
    private Date updateTime;
}